
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>svg 之 fill 及 fill-rule · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../svg之viewBox/svg之viewBox.html" />
    
    
    <link rel="prev" href="../svg描边动画/svg描边动画.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../svg基础/svg基础.html">
            
                <a href="../svg基础/svg基础.html">
            
                    
                    svg 基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../svg基本图形/svg基本图形.html">
            
                <a href="../svg基本图形/svg基本图形.html">
            
                    
                    svg 基本图形
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../svg之path/svg之path.html">
            
                <a href="../svg之path/svg之path.html">
            
                    
                    svg 之 path
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../svg描边动画/svg描边动画.html">
            
                <a href="../svg描边动画/svg描边动画.html">
            
                    
                    svg 描边动画
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.6" data-path="svg之fill及fill-rule.html">
            
                <a href="svg之fill及fill-rule.html">
            
                    
                    svg 之 fill 及 fill-rule
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../svg之viewBox/svg之viewBox.html">
            
                <a href="../svg之viewBox/svg之viewBox.html">
            
                    
                    svg 之 viewBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../svg分组与复用/svg分组与复用.html">
            
                <a href="../svg分组与复用/svg分组与复用.html">
            
                    
                    svg 分组与复用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../svg之marker/svg之marker.html">
            
                <a href="../svg之marker/svg之marker.html">
            
                    
                    svg 之 marker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../svg文本/svg文本.html">
            
                <a href="../svg文本/svg文本.html">
            
                    
                    svg 文本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../svg之pattern/svg之pattern.html">
            
                <a href="../svg之pattern/svg之pattern.html">
            
                    
                    svg 之 pattern
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../svg之clipPath和mask/svg之clipPath和mask.html">
            
                <a href="../svg之clipPath和mask/svg之clipPath和mask.html">
            
                    
                    svg 之 clipPath 和 mask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../svg之filter/svg之filter.html">
            
                <a href="../svg之filter/svg之filter.html">
            
                    
                    svg 之 filter
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >svg 之 fill 及 fill-rule</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="svg-&#x4E4B;-fill-&#x53CA;-fill-rule">SVG &#x4E4B; fill &#x53CA; fill-rule</h1>
<p>SVG &#x4E2D;&#x7684; <code>fill</code> &#x7279;&#x6027;&#x53EF;&#x7528;&#x4E8E;&#x8DEF;&#x5F84;&#x586B;&#x5145;&#x3002;&#x8DEF;&#x5F84;&#x586B;&#x5145;&#x4E0D;&#x4EC5;&#x53EF;&#x4EE5;&#x586B;&#x5145;&#x989C;&#x8272;&#xFF0C;&#x8FD8;&#x53EF;&#x4EE5;&#x586B;&#x5145;&#x56FE;&#x6848;&#x3002;&#x5BF9;&#x4E8E;&#x4E00;&#x4E9B;&#x4E0D;&#x89C4;&#x5219;&#x7684;&#x586B;&#x5145;&#xFF0C;&#x8FD8;&#x9700;&#x8981;&#x7ED3;&#x5408; <code>fill-rule</code>&#x3002;</p>
<h2 id="&#x586B;&#x5145;&#x989C;&#x8272;">&#x586B;&#x5145;&#x989C;&#x8272;</h2>
<ul>
<li><p>&#x7EAF;&#x989C;&#x8272;</p>
<p><img src="imgs/c.svg" alt=""></p>
</li>
<li><p>&#x6E10;&#x53D8;&#x989C;&#x8272;</p>
<p>&#x9664;&#x4E86;&#x53EF;&#x4EE5;&#x586B;&#x5145;&#x7EAF;&#x989C;&#x8272;&#xFF0C;&#x8FD8;&#x53EF;&#x4EE5;&#x586B;&#x5145;&#x6E10;&#x53D8;&#x989C;&#x8272;&#x3002;&#x8981;&#x586B;&#x5145;&#x6E10;&#x53D8;&#x989C;&#x8272;&#xFF0C;&#x9996;&#x5148;&#x5F97;&#x4F7F;&#x7528;<code>&lt;linearGradient&gt;&lt;/linearGradient&gt;</code>&#x3001;<code>&lt;radialGradient&gt;&lt;/radialGradient&gt;</code>&#x5B9A;&#x4E49;&#x6E10;&#x53D8;&#x989C;&#x8272;&#x3002;</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">defs</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">linearGradient</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;linear&quot;</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">stop</span> <span class="hljs-attr">offset</span>=<span class="hljs-string">&quot;0%&quot;</span> <span class="hljs-attr">stop-color</span>=<span class="hljs-string">&quot;#e91e63&quot;</span> /&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">stop</span> <span class="hljs-attr">offset</span>=<span class="hljs-string">&quot;80%&quot;</span> <span class="hljs-attr">stop-color</span>=<span class="hljs-string">&quot;#ffc107&quot;</span> /&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">linearGradient</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">radialGradient</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;radial&quot;</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">stop</span> <span class="hljs-attr">offset</span>=<span class="hljs-string">&quot;0%&quot;</span> <span class="hljs-attr">stop-color</span>=<span class="hljs-string">&quot;#e91e63&quot;</span>/&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">stop</span> <span class="hljs-attr">offset</span>=<span class="hljs-string">&quot;80%&quot;</span> <span class="hljs-attr">stop-color</span>=<span class="hljs-string">&quot;#ffc107&quot;</span>/&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">radialGradient</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">defs</span>&gt;</span>
</code></pre>
<p>&#x518D;&#x901A;&#x8FC7; <code>fill</code> &#x8FDB;&#x884C;&#x5F15;&#x7528;</p>
<pre><code class="lang-html">  <span class="hljs-tag">&lt;<span class="hljs-name">rect</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;50&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;60&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">&quot;url(#linear)&quot;</span>/&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">rect</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;250&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;60&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">&quot;url(#radial)&quot;</span>/&gt;</span>
</code></pre>
<p><img src="imgs/g.svg" alt=""></p>
</li>
</ul>
<h2 id="&#x586B;&#x5145;&#x56FE;&#x6848;">&#x586B;&#x5145;&#x56FE;&#x6848;</h2>
<p>&#x4E0E;&#x6E10;&#x53D8;&#x989C;&#x8272;&#x4E00;&#x6837;&#xFF0C;&#x8981;&#x586B;&#x5145;&#x56FE;&#x6848;&#xFF0C;&#x4E5F;&#x8981;&#x5148;&#x5B9A;&#x4E49;&#x3002;SVG &#x4E2D;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; <code>&lt;pattern&gt;&lt;/pattern&gt;</code> &#x8FDB;&#x884C;&#x56FE;&#x6848;&#x5B9A;&#x4E49;&#x3002;&#x5173;&#x4E8E; <code>pattern</code> &#x7684;&#x4F7F;&#x7528;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x6587;&#x7AE0;&#xFF1A;<a href="../svg&#x4E4B;pattern/svg&#x4E4B;pattern.html">svg &#x4E4B; pattern</a></p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">defs</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">pattern</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;pattern1&quot;</span> <span class="hljs-attr">patternUnits</span>=<span class="hljs-string">&quot;userSpaceOnUse&quot;</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;0&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;0&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;24&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;24&quot;</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">rect</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;0&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;0&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;20&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;20&quot;</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">&quot;#03A9F4&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">rect</span>&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">pattern</span>&gt;</span> 
  <span class="hljs-tag">&lt;<span class="hljs-name">pattern</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;pattern2&quot;</span> <span class="hljs-attr">patternUnits</span>=<span class="hljs-string">&quot;userSpaceOnUse&quot;</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">&quot;#03A9F4&quot;</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;0&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;0&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;30&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;30&quot;</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">circle</span> <span class="hljs-attr">cx</span>=<span class="hljs-string">&quot;10&quot;</span> <span class="hljs-attr">cy</span>=<span class="hljs-string">&quot;10&quot;</span> <span class="hljs-attr">r</span>=<span class="hljs-string">&quot;10&quot;</span>/&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">pattern</span>&gt;</span> 
<span class="hljs-tag">&lt;/<span class="hljs-name">defs</span>&gt;</span>
</code></pre>
<p>&#x518D;&#x901A;&#x8FC7; <code>fill</code> &#x8FDB;&#x884C;&#x5F15;&#x7528;</p>
<pre><code class="lang-html">  <span class="hljs-tag">&lt;<span class="hljs-name">rect</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;50&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;60&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">&quot;url(#pattern1)&quot;</span>/&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">rect</span> <span class="hljs-attr">x</span>=<span class="hljs-string">&quot;250&quot;</span> <span class="hljs-attr">y</span>=<span class="hljs-string">&quot;60&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;100&quot;</span> <span class="hljs-attr">fill</span>=<span class="hljs-string">&quot;url(#pattern2)&quot;</span>/&gt;</span>
</code></pre>
<p><img src="imgs/p.svg" alt=""></p>
<p>&#x5BF9;&#x4E8E;&#x4E00;&#x4E9B;&#x4E0D;&#x89C4;&#x5219;&#x7684;&#x586B;&#x5145;&#xFF0C;&#x8BE5;&#x5982;&#x4F55;&#x5904;&#x7406;&#x5462;&#xFF1F;&#x5982;&#x4E0B;&#x56FE;&#x4E94;&#x89D2;&#x661F;&#x586B;&#x5145;&#x3002;&#x4E2D;&#x5FC3;&#x4E0D;&#x586B;&#x5145;&#x989C;&#x8272;&#xFF0C;&#x4E94;&#x89D2;&#x586B;&#x5145;&#x989C;&#x8272;&#x3002;</p>
<p><img src="imgs/star.svg" alt=""></p>
<p>&#x8981;&#x5B9E;&#x73B0;&#x4E0A;&#x56FE;&#x7684;&#x989C;&#x8272;&#x586B;&#x5145;&#xFF0C;&#x9700;&#x8981;&#x501F;&#x52A9; SVG &#x7684; <code>fill-rule</code>&#x3002;</p>
<h2 id="fill-rule"><code>fill-rule</code></h2>
<p>&#x8DEF;&#x5F84;&#x586B;&#x5145;&#x89C4;&#x5219;&#xFF0C;&#x6709;&#x5982;&#x4E0B;&#x4E24;&#x79CD;&#x89C4;&#x5219;&#xFF1A;</p>
<ul>
<li><code>nonzero</code>&#xFF1A;&#x975E;&#x96F6;&#x89C4;&#x5219;&#x3002;&#x5373;&#x975E;&#x96F6;&#x5728;&#x5185;&#x90E8;&#xFF0C;&#x586B;&#x5145;&#xFF1B;&#x96F6;&#x5219;&#x5728;&#x5916;&#x90E8;&#xFF0C;&#x4E0D;&#x586B;&#x5145;&#x3002;</li>
</ul>
<ul>
<li><code>evenodd</code>&#xFF1A;&#x5947;&#x5076;&#x89C4;&#x5219;&#x3002;&#x5373;&#x5947;&#x6570;&#x5728;&#x5185;&#x90E8;&#xFF0C;&#x586B;&#x5145;&#xFF1B;&#x5076;&#x6570;&#x5219;&#x5728;&#x5916;&#x90E8;&#xFF0C;&#x4E0D;&#x586B;&#x5145;&#x3002;</li>
</ul>
<p>&#x90A3;&#x5982;&#x4F55;&#x5E94;&#x7528;&#x8FD9;&#x4E24;&#x79CD;&#x89C4;&#x5219;&#x5462;&#xFF1F;&#x8981;&#x5224;&#x65AD;&#x67D0;&#x4E2A;&#x533A;&#x57DF;&#x662F;&#x5426;&#x5728;&#x8DEF;&#x5F84;&#x5185;&#xFF0C;&#x53EA;&#x9700;&#x5728;&#x8BE5;&#x533A;&#x57DF;&#x5185;&#x627E;&#x4EFB;&#x610F;&#x4E00;&#x4E2A;&#x70B9;&#xFF0C;&#x4EE5;&#x8FD9;&#x4E2A;&#x70B9;&#x4E3A;&#x8D77;&#x70B9;&#xFF0C;&#x53D1;&#x5C04;&#x4E00;&#x6761;&#x5C04;&#x7EBF;&#x3002;</p>
<ul>
<li><p><code>nonzero</code> &#x89C4;&#x5219;&#xFF1A;&#x521D;&#x59CB;&#x503C;&#x4E3A; 0&#xFF0C;&#x8BA1;&#x7B97;&#x5C04;&#x7EBF;&#x4E0E;&#x8DEF;&#x5F84;&#x6BB5;&#x7684;&#x76F8;&#x4EA4;&#x60C5;&#x51B5;&#x3002;&#x5982;&#x679C;&#x76F8;&#x4EA4;&#x8DEF;&#x5F84;&#x6BB5;&#x662F;&#x4ECE;&#x5DE6;&#x5411;&#x53F3;&#x5C31;&#x52A0; 1&#xFF0C;&#x4ECE;&#x53F3;&#x5411;&#x5DE6;&#x5C31;&#x51CF; 1&#x3002;&#x5982;&#x679C;&#x7ED3;&#x679C;&#x6570;&#x503C;&#x4E0D;&#x4E3A; 0&#xFF0C;&#x5219;&#x5728;&#x8DEF;&#x5F84;&#x5185;&#x3002;&#x5982;&#x679C;&#x4E3A; 0&#xFF0C;&#x5219;&#x5728;&#x8DEF;&#x5F84;&#x5916;&#x3002;</p>
<p><img src="imgs/nonzero.svg" alt=""></p>
</li>
<li><p><code>evenodd</code> &#x89C4;&#x5219;&#xFF1A;&#x521D;&#x59CB;&#x503C;&#x4E3A; 0&#xFF0C;&#x8BA1;&#x7B97;&#x5C04;&#x7EBF;&#x4E0E;&#x8DEF;&#x5F84;&#x6BB5;&#x7684;&#x76F8;&#x4EA4;&#x6570;&#x3002;&#x5982;&#x679C;&#x76F8;&#x4EA4;&#x6570;&#x4E3A;&#x5947;&#x6570;&#xFF0C;&#x5219;&#x5728;&#x8DEF;&#x5F84;&#x5185;&#x3002;&#x5982;&#x679C;&#x4E3A;&#x5076;&#x6570;&#xFF0C;&#x5219;&#x5728;&#x8DEF;&#x5F84;&#x5916;&#x3002;</p>
<p><img src="imgs/evenodd.svg" alt=""></p>
</li>
</ul>
<p>&#x4ECB;&#x7ECD;&#x5B8C; <code>fill-rule</code>&#xFF0C;&#x518D;&#x6765;&#x770B;&#x770B;&#x5982;&#x4F55;&#x586B;&#x5145;&#x4E94;&#x89D2;&#x661F;&#x3002;&#x8981;&#x5B9E;&#x73B0;&#x8FD9;&#x79CD;&#x586B;&#x5145;&#x5C31;&#x5F97;&#x7528;&#x5230;&#x521A;&#x4ECB;&#x7ECD;&#x7684; <code>evenodd</code> &#x89C4;&#x5219;&#x3002;</p>
<p>  <img src="imgs/star-evenodd.svg" alt=""></p>
<p>&#x5982;&#x4E0A;&#x793A;&#x610F;&#x56FE;&#x6240;&#x793A;&#x3002;&#x4E2D;&#x5FC3;&#x533A;&#x57DF;&#x7684;&#x4EFB;&#x4F55;&#x70B9;&#x53D1;&#x5C04;&#x7684;&#x5C04;&#x7EBF;&#xFF0C;&#x4E0E;&#x4E94;&#x89D2;&#x661F;&#x8DEF;&#x5F84;&#x6BB5;&#x7684;&#x76F8;&#x4EA4;&#x6570;&#x4E3A;&#x5076;&#x6570;&#xFF0C;&#x6240;&#x4EE5;&#x5728;&#x8DEF;&#x5F84;&#x5916;&#x3002;&#x800C;&#x4E94;&#x89D2;&#x533A;&#x57DF;&#x7684;&#x4EFB;&#x4F55;&#x70B9;&#x53D1;&#x5C04;&#x7684;&#x5C04;&#x7EBF;&#x4E0E;&#x4E94;&#x89D2;&#x661F;&#x8DEF;&#x5F84;&#x6BB5;&#x7684;&#x76F8;&#x4EA4;&#x6570;&#x4E3A;&#x5947;&#x6570;&#xFF0C;&#x6240;&#x4EE5;&#x5728;&#x8DEF;&#x5F84;&#x5185;&#x3002;&#x518D;&#x6765;&#x770B;&#x770B;&#x5982;&#x679C;&#x5E94;&#x7528; <code>nonzero</code> &#x89C4;&#x5219;&#xFF0C;&#x586B;&#x5145;&#x7ED3;&#x679C;&#x4F1A;&#x600E;&#x6837;&#x5462;&#xFF1F;</p>
<p>  <img src="imgs/star-nonzero.svg" alt=""></p>
<p>&#x4E2D;&#x5FC3;&#x533A;&#x57DF;&#x7684;&#x4EFB;&#x4F55;&#x70B9;&#x53D1;&#x5C04;&#x7684;&#x5C04;&#x7EBF;&#xFF0C;&#x4E0E;&#x4E94;&#x89D2;&#x661F;&#x76F8;&#x4EA4;&#x7684;&#x8DEF;&#x5F84;&#x6BB5;&#x7684;&#x65B9;&#x5411;&#x90FD;&#x4E3A;&#x5DE6;&#x5411;&#x53F3;&#xFF0C;&#x7ED3;&#x679C;&#x6570;&#x503C;&#x4E3A;2&#xFF0C;&#x5373;&#x4E0D;&#x4E3A;&#x96F6;&#xFF0C;&#x5728;&#x8DEF;&#x5F84;&#x5185;&#x3002;&#x540C;&#x6837;&#x4E94;&#x89D2;&#x533A;&#x57DF;&#x7684;&#x4EFB;&#x4F55;&#x70B9;&#x53D1;&#x5C04;&#x7684;&#x5C04;&#x7EBF;&#x4E0E;&#x4E94;&#x89D2;&#x661F;&#x76F8;&#x4EA4;&#x7684;&#x8DEF;&#x5F84;&#x6BB5;&#x7684;&#x65B9;&#x5411;&#x4E5F;&#x90FD;&#x4E3A;&#x5DE6;&#x5411;&#x53F3;&#xFF0C;&#x7ED3;&#x679C;&#x6570;&#x503C;&#x4E3A;1&#xFF0C;&#x5373;&#x4E0D;&#x4E3A;&#x96F6;&#xFF0C;&#x5728;&#x8DEF;&#x5F84;&#x5185;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../svg描边动画/svg描边动画.html" class="navigation navigation-prev " aria-label="Previous page: svg 描边动画">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../svg之viewBox/svg之viewBox.html" class="navigation navigation-next " aria-label="Next page: svg 之 viewBox">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"svg 之 fill 及 fill-rule","level":"1.6","depth":1,"next":{"title":"svg 之 viewBox","level":"1.7","depth":1,"path":"svg之viewBox/svg之viewBox.md","ref":"./svg之viewBox/svg之viewBox.md","articles":[]},"previous":{"title":"svg 描边动画","level":"1.5","depth":1,"path":"svg描边动画/svg描边动画.md","ref":"./svg描边动画/svg描边动画.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"svg之fill及fill-rule/svg之fill及fill-rule.md","mtime":"2019-10-21T03:13:48.939Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-21T06:03:10.264Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

